log/slog.commonHandler.json (field)
18 uses
log/slog (current package)
handler.go#L97: ch: &commonHandler{json: false},
handler.go#L187: json bool // true => output JSON; false => output text
handler.go#L204: json: h.json,
handler.go#L238: if h2.json && pfa[len(pfa)-1] == '{' {
handler.go#L268: if h.json {
handler.go#L323: if s.h.json && pfa[len(pfa)-1] == '{' {
handler.go#L352: if s.h.json {
handler.go#L364: if h.json {
handler.go#L425: if s.h.json {
handler.go#L441: if s.h.json {
handler.go#L486: if s.h.json {
handler.go#L533: if s.h.json {
handler.go#L542: if s.h.json {
handler.go#L575: if s.h.json {
handler.go#L586: if s.h.json {
json_handler.go#L36: json: true,
text_handler.go#L34: json: false,
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)